set(LIBCOMMON_SRC error.cc global_utils.cc math.cc memory.cc timer.cc)
#set(LIBRARY_OUTPUT_PATH ../bin_test/common)
#add_library(common SHARED ${LIBCOMMON_SRC})
add_library(common_static STATIC ${LIBCOMMON_SRC})
set_target_properties(common_static PROPERTIES OUTPUT_NAME "common")
#set_target_properties(common_static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
#set_target_properties(common PROPERTIES CLEAN_DIRECT_OUTPUT 1)

